import request from '@/utils/request'

export const getDetectionsByAlertId = (alertId, pageNum = 1, pageSize = 10) =>
  request.get(`/detections/detection/${alertId}`, {
    params: {
      pageNum,
      pageSize
    }
  })
